package com.cleaningcloud.cld.service;

import com.cleaningcloud.cld.domain.CldCheckPerformance;
import com.cleaningcloud.cld.domain.dto.CldCheckPerformanceDto;
import com.cleaningcloud.cld.domain.vo.CldCheckPerformanceVo;

import java.util.List;

/**
 * 绩效考核Service接口
 *
 * @author cleaningcloud
 * @date 2024-10-12
 */
public interface ICldCheckPerformanceService {
    /**
     * 查询绩效考核
     *
     * @param performanceId 绩效考核主键
     * @return 绩效考核
     */
    CldCheckPerformanceVo selectCldCheckPerformanceByPerformanceId(Long performanceId);

    /**
     * 查询绩效考核列表
     *
     * @param cldCheckPerformance 绩效考核
     * @return 绩效考核集合
     */
    List<CldCheckPerformanceVo> selectCldCheckPerformanceList(CldCheckPerformance cldCheckPerformance);

    /**
     * 新增绩效考核
     *
     * @param cldCheckPerformance 绩效考核
     * @return 结果
     */
    int insertCldCheckPerformance(CldCheckPerformanceDto cldCheckPerformanceDto);

    /**
     * 修改绩效考核
     *
     * @param cldCheckPerformance 绩效考核
     * @return 结果
     */
    int updateCldCheckPerformance(CldCheckPerformanceDto cldCheckPerformanceDto);

    /**
     * 批量删除绩效考核
     *
     * @param performanceIds 需要删除的绩效考核主键集合
     * @return 结果
     */
    int deleteCldCheckPerformanceByPerformanceIds(Long[] performanceIds);

    /**
     * 删除绩效考核信息
     *
     * @param performanceId 绩效考核主键
     * @return 结果
     */
    int deleteCldCheckPerformanceByPerformanceId(Long performanceId);
}
